/**
 * development | test => 采用测试地址
 * production => 采用内网地址
 * @type {null}
 */
let qztuceng = null
let olurl = null
let olmsurl = null
let superurl = null
let tburl = null
let ylfujian = null
if (process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'test') {
  qztuceng = 'http://lvchuang.f3322.net:6080/'
  olurl = 'http://lc.guo.lol:28080/iclient/libs/openlayers/6.14.1/ol.js'
  olmsurl = 'http://lc.guo.lol:28080/iclient/libs/openlayers/plugins/ol-mapbox-style/2.11.2-4/olms.js'
  superurl = 'http://lc.guo.lol:28080/iclient/ol/iclient-ol.min.js'
  tburl = 'http://lc.guo.lol:39667/'
  ylfujian = 'http://lc.guo.lol:28080/HeBeiHaiYang/bdhweb/hl.pdf'
} else {
  qztuceng = 'http://10.122.2.192:8082/'
  olurl = 'http://10.243.6.215:8090/iclient/libs/openlayers/6.14.1/ol.js'
  olmsurl = 'http://10.243.6.215:8090/iclient/libs/openlayers/plugins/ol-mapbox-style/2.11.2-4/olms.js'
  superurl = 'http://10.243.6.215:8090/iclient/ol/iclient-ol.min.js'
  tburl = 'http://10.243.6.215:8090/'
  ylfujian = 'http://10.243.6.14:18080/hebeibdh/hl.pdf'
}

export default {
  // 本地
  MapUrl: qztuceng + 'arcgis/rest/services/HeBei/hebeiWater20220513/MapServer',
  gpPoint: qztuceng + 'arcgis/rest/services/HeBei/modelPointPar/GPServer/modelPointPar',
  gpArea: qztuceng + 'arcgis/rest/services/HeBei/modelPolygonPar/GPServer/model%E5%90%8C%E6%AD%A5par',
  oljsurl1: olurl,
  oljsurl2: olmsurl,
  oljsurl3: superurl,
  tburl: tburl,
  ylfujian: ylfujian
}
